﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Dora.Tools.Enums.AdminUser
{
    /// <summary>
    /// 是否允许签约供应商
    /// </summary>
    public enum AllowContractSupplier
    {
        /// <summary>
        /// 否，不允许
        /// </summary>
        [Description("不允许签约供应商")]
        No = 20,
        /// <summary>
        /// 是，允许
        /// </summary>
        [Description("允许签约供应商")]
        Yes = 21
    }

    /// <summary>
    /// 【分社】是否允许更换保险 字段含义变更：30:不允许更换保险，31:允许更换保险
    /// </summary>
    public enum AllowContractInsuranceSupplier
    {
        /// <summary>
        /// 否，不允许
        /// </summary>
        [Description("不允许更换保险")]
        No = 30,
        /// <summary>
        /// 是，允许
        /// </summary>
        [Description("允许更换保险")]
        Yes = 31
    }

    /// <summary>
    /// 是否允许开设门店
    /// </summary>
    public enum AllowAllowOpenStores
    {
        /// <summary>
        /// 否，不允许
        /// </summary>
        [Description("不允许开设门店")]
        No = 40,
        /// <summary>
        /// 是，允许
        /// </summary>
        [Description("允许开设门店")]
        Yes = 41
    }

    /// <summary>
    /// 是否需要审批
    /// </summary>
    public enum AllowAudit
    {    
        /// <summary>
        /// 否，不允许
        /// </summary>
        [Description("不允许大社审批")]
        No = 50,
        /// <summary>
        /// 是，允许
        /// </summary>
        [Description("允许大社审批")]
        Yes = 51
    }

    /// <summary>
    /// 【分社】是否允许独立结算;60:不允许，61:允许
    /// </summary>
    public enum AllowSettlementBySelf
    {
        /// <summary>
        /// 否，不允许
        /// </summary>
        [Description("不允许独立结算")]
        No = 60,
        /// <summary>
        /// 是，允许
        /// </summary>
        [Description("允许独立结算")]
        Yes = 61
    }
}
